#!/bin/bash

filename_prefix="mmap_performance_test.data"
size="`expr 1024 \* 1024 \* 60`" # 60M

for (( i=0 ; i <= 6 ; i++ ))
do
    echo "./mmap_performance_test -f ${filename_prefix} -s $size -m $i } > \"${filename_prefix}.report.$i\""
    time { ./mmap_performance_test -f ${filename_prefix} -s $size -m $i } > "${filename_prefix}.report.$i"
done
